/* Class37_Sub2 - Decompiled by JODE
 * Visit http://jode.sourceforge.net
 */
public class Class37_Sub2 extends Class37 {
    public static JString aJString_1810 = method332((byte) 101, "blinken2:");
    public static JString aJString_1811 = method332((byte) 118, "<)4col>");
    public static int anInt1812;
    public static int anInt1814;
    public static JString aJString_1817 = method332((byte) 102,
            "Unable to find ");
    public static JString aJString_1818;
    public static JString aJString_1819;
    public static int anInt1820;
    public static JString aJString_1821;
    public static short[][] aShortArrayArray1822 = {
            {
                18322, 17304, 16289, 15929, 6569, 7613, 7630, 6364, 7054, 7079,
                5056, 6988, 8481, 7475, 7364, 8412, -21990, -21969, -21952,
                -22182, -27211, -27198, -27186, -27302, 542, 555, 941, 951, 8076,
                6936, 5675, 5440, 10014, 11179, 11197, 11096, 10258, 10776,
                10661, 10419, -10984, -11095, -11072, -6630, -5467, -6473, -6838,
                -32318, -26069, -25925, -25669, 11202, 22193, 123, 111, 99, 4,
                12, 24, 37, 49, 61, 74, 86, 4, 12, 24, 37, 49, 61, 74, 86,
                -25437, -26445, -27450, 9694, 21824, 123, 111, 99, 17814, 16801,
                17837, 16697, 7341, 7496, 5330, 7384, 5268, 3230, 2223, 72,
                10277, 8377, 8394, 7384, -22370, -22221, -22196, -22314, -29637,
                -27434, -29604, -25491, 662, 796, 933, 819, 10258, 6430, 5425,
                5314, 10917, 10925, 10935, 10471, 10258, 10524, 10415, 10301,
                -11108, -11093, -11203, -8034, -5839, -6836, -5934, -32674,
                -14444, -15455, -15697, -15557, -15424, -11622, -11601, -11450,
                7054, 7079, 5056, 6988, 8481, -30054, -30159, -30019, -21734,
                -21845, -21707, -21690, -21564, -24921, -24775, -24640, 662, 794,
                811, 945, 827, 957, 5425, 5314, 11032, 10921, 11183, 11069,
                11200, 4775, 3891, 3904, -18792, -19799, -20807, -20677, -20534,
                123, 111, 99, 4, 12, 24, 37, 49, 61, 74, 86, 20366, 21274, 21415,
                20401, 6569, 7613, 7630, 6364, 4300, 8412, 3294, 4193, 3303, 123,
                111, 99, 18322, 17304, 16289, 15929, 6569, 7613, 7630, 6364,
                7054, 7079, 5056, 6988, 8481, 7475, 7364, 8412, -21990, -21969,
                -21952, 14990, 14746, 15779, 15795, 15944, 662, 796, 941, 951,
                148, 6936, 5675, 5440, 10014, 11179, 11197, 10894, 10776, 10661,
                10795, 10419, -10984, -11095, -11072, 12998, 12731, 11718, -6838,
                -32318, 4, 12, 24, 37, 49, 61, 74, 86
            },
            {
                18322, 17304, 16289, 15929, 6569, 7613, 7630, 6364, 7054, 7079,
                5056, 6988, 8481, 7475, 7364, 8412, -21990, -21969, -21952,
                -22182, -27211, -27198, -27186, -27302, 542, 555, 941, 951, 8076,
                6936, 5675, 5440, 10014, 11179, 11197, 11096, 10258, 10776,
                10661, 10419, -10984, -11095, -11072, -6630, -5467, -6473, -6838,
                -32318, -26069, -25925, -25669, 11202, 22193, 123, 111, 99, 4,
                12, 24, 37, 49, 61, 74, 86, 4, 12, 24, 37, 49, 61, 74, 86,
                -25437, -26445, -27450, 9694, 21824, 123, 111, 99, 17814, 16801,
                17837, 16697, 7341, 7496, 5330, 7384, 5268, 3230, 2223, 72,
                10277, 8377, 8394, 7384, -22370, -22221, -22196, -22314, -29637,
                -27434, -29604, -25491, 662, 796, 933, 819, 10258, 6430, 5425,
                5314, 10917, 10925, 10935, 10471, 10258, 10524, 10415, 10301,
                -11108, -11093, -11203, -8034, -5839, -6836, -5934, -32674,
                -14444, -15455, -15697, -15557, -15424, -11622, -11601, -11450,
                7054, 7079, 5056, 6988, 8481, -30054, -30159, -30019, -21734,
                -21845, -21707, -21690, -21564, -24921, -24775, -24640, 662, 794,
                811, 945, 827, 957, 5425, 5314, 11032, 10921, 11183, 11069,
                11200, 4775, 3891, 3904, -18792, -19799, -20807, -20677, -20534,
                123, 111, 99, 4, 12, 24, 37, 49, 61, 74, 86, 20366, 21274, 21415,
                20401, 6569, 7613, 7630, 6364, 4300, 8412, 3294, 4193, 3303, 123,
                111, 99, 18322, 17304, 16289, 15929, 6569, 7613, 7630, 6364,
                7054, 7079, 5056, 6988, 8481, 7475, 7364, 8412, -21990, -21969,
                -21952, 14990, 14746, 15779, 15795, 15944, 662, 796, 941, 951,
                148, 6936, 5675, 5440, 10014, 11179, 11197, 10894, 10776, 10661,
                10795, 10419, -10984, -11095, -11072, 12998, 12731, 11718, -6838,
                -32318, 4, 12, 24, 37, 49, 61, 74, 86
            },
            {
                18322, 17304, 16289, 15929, 6569, 7613, 7630, 6364, 7054, 7079,
                5056, 6988, 8481, 7475, 7364, 8412, -21990, -21969, -21952,
                -22182, -27211, -27198, -27186, -27302, 542, 555, 941, 951, 8076,
                6936, 5675, 5440, 10014, 11179, 11197, 11096, 10258, 10776,
                10661, 10419, -10984, -11095, -11072, -6630, -5467, -6473, -6838,
                -32318, -26069, -25925, -25669, 11202, 22193, 123, 111, 99, 4,
                12, 24, 37, 49, 61, 74, 86, 4, 12, 24, 37, 49, 61, 74, 86,
                -25437, -26445, -27450, 9694, 21824, 123, 111, 99, 17814, 16801,
                17837, 16697, 7341, 7496, 5330, 7384, 5268, 3230, 2223, 72,
                10277, 8377, 8394, 7384, -22370, -22221, -22196, -22314, -29637,
                -27434, -29604, -25491, 662, 796, 933, 819, 10258, 6430, 5425,
                5314, 10917, 10925, 10935, 10471, 10258, 10524, 10415, 10301,
                -11108, -11093, -11203, -8034, -5839, -6836, -5934, -32674,
                -14444, -15455, -15697, -15557, -15424, -11622, -11601, -11450,
                7054, 7079, 5056, 6988, 8481, -30054, -30159, -30019, -21734,
                -21845, -21707, -21690, -21564, -24921, -24775, -24640, 662, 794,
                811, 945, 827, 957, 5425, 5314, 11032, 10921, 11183, 11069,
                11200, 4775, 3891, 3904, -18792, -19799, -20807, -20677, -20534,
                123, 111, 99, 4, 12, 24, 37, 49, 61, 74, 86, 20366, 21274, 21415,
                20401, 6569, 7613, 7630, 6364, 4300, 8412, 3294, 4193, 3303, 123,
                111, 99, 18322, 17304, 16289, 15929, 6569, 7613, 7630, 6364,
                7054, 7079, 5056, 6988, 8481, 7475, 7364, 8412, -21990, -21969,
                -21952, 14990, 14746, 15779, 15795, 15944, 662, 796, 941, 951,
                148, 6936, 5675, 5440, 10014, 11179, 11197, 10894, 10776, 10661,
                10795, 10419, -10984, -11095, -11072, 12998, 12731, 11718, -6838,
                -32318, 4, 12, 24, 37, 49, 61, 74, 86
            },
            {
                4300, 3294, 3303, 3264, 4506, 4382, 4387, 5293, 7622, 7384, 8412,
                7496, 86, 123, 111, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 12, 24, 37, 49, 61, 74,
                86, -25437, -26445, -27450, 9694, 21824, 123, 111, 99, 17814,
                16801, 17837, 16697, 7341, 7496, 5330, 7384, 5268, 3230, 2223,
                72, 10277, 8377, 8394, 7384, -22370, -22221, -22196, -22314,
                -29637, -27434, -29604, -25491, 662, 796, 933, 819, 10258, 6430,
                5425, 5314, 10917, 10925, 10935, 10471, 10258, 10524, 10415,
                10301, -11108, -11093, -11203, -8034, -5839, -6836, -5934,
                -32674, -14444, -15455, -15697, -15557, -15424, -11622, -11601,
                -11450, 7054, 7079, 5056, 6988, 8481, -30054, -30159, -30019,
                -21734, -21845, -21707, -21690, -21564, -24921, -24775, -24640,
                662, 794, 811, 945, 827, 957, 5425, 5314, 11032, 10921, 11183,
                11069, 11200, 4775, 3891, 3904, -18792, -19799, -20807, -20677,
                -20534, 123, 111, 99, 4, 12, 24, 37, 49, 61, 74, 86, 20366,
                21274, 21415, 20401, 6569, 7613, 7630, 6364, 4300, 8412, 3294,
                4193, 3303, 123, 111, 99, 18322, 17304, 16289, 15929, 6569, 7613,
                7630, 6364, 7054, 7079, 5056, 6988, 8481, 7475, 7364, 8412,
                -21990, -21969, -21952, 14990, 14746, 15779, 15795, 15944, 662,
                796, 941, 951, 148, 6936, 5675, 5440, 10014, 11179, 11197, 10894,
                10776, 10661, 10795, 10419, -10984, -11095, -11072, 12998, 12731,
                11718, -6838, -32318, 4, 12, 24, 37, 49, 61, 74, 86
            },
            {
                18322, 17304, 16289, 15929, 6569, 7613, 7630, 6364, 7054, 7079,
                5056, 6988, 8481, 7475, 7364, 8412, -21990, -21969, -21952,
                -22182, -27211, -27198, -27186, -27302, 542, 555, 941, 951, 8076,
                6936, 5675, 5440, 10014, 11179, 11197, 11096, 10258, 10776,
                10661, 10419, -10984, -11095, -11072, -6630, -5467, -6473, -6838,
                -32318, -26069, -25925, -25669, 11202, 22193, 123, 111, 99, 4,
                12, 24, 37, 49, 61, 74, 86, 22461, -21571, 11200, 957, -10317,
                5056, -31808, 123, 22453, -21579, 11191, 949, -10325, 4023,
                -31817, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                0, 0, 0, 0, 0, 0, 0, 20366, 20401, 662, 827, 7054, 5056, -21734,
                -21564, -14444, -15424, 11032, 11200, 4, 123, 61, -18792, 0, 0,
                0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                0, 0, 4300, 3294, 3303, 3264, 4506, 4382, 4387, 5293, 8412, 8301,
                8076, 6936, 5675, 941, 5056, 15795, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
            }
        };
    public static int anInt1824;
    public static int anInt1825 = 0;
    public static Class37_Sub4_Sub2 aClass37_Sub4_Sub2_1826;
    public static JString aJString_1831 = method332((byte) 103,
            "Verbindung abgebrochen)3");
    public static int anInt1832;
    public static int anInt1835;

    static {
        aJString_1818 = method332((byte) 112,
                "You can(Wt add yourself to your own friend list)3");
        aJString_1821 = aJString_1817;
        aJString_1819 = aJString_1818;
    }

    public int anInt1813;
    public int anInt1815;
    public int anInt1816 = 0;
    public int anInt1823;
    public int anInt1827;
    public int anInt1828 = -1;
    public int anInt1829;
    public int anInt1830;
    public int anInt1833;
    public int anInt1834;
    public int anInt1836;
    public int anInt1837;

    public static JString method332(byte i, String string) {
        anInt1824++;

        byte[] is = string.getBytes();
        int i_0_ = is.length;
        JString jstring = new JString();

        if (i <= 100) {
            method336(50, null, -63);
        }

        int i_1_ = 0;
        jstring.charArray = new byte[i_0_];

        while ((i_1_ ^ 0xffffffff) > (i_0_ ^ 0xffffffff)) {
            int i_2_ = 0xff & is[i_1_++];

            if (((i_2_ ^ 0xffffffff) < -46) || ((i_2_ ^ 0xffffffff) > -41)) {
                if (i_2_ != 0) {
                    jstring.charArray[jstring.length++] = (byte) i_2_;
                }
            } else {
                if ((i_0_ ^ 0xffffffff) >= (i_1_ ^ 0xffffffff)) {
                    break;
                }

                int i_3_ = is[i_1_++] & 0xff;

                jstring.charArray[jstring.length++] = (byte) (-1720 +
                    (i_2_ * 43) + (-48 + i_3_));
            }
        }

        jstring.fixLength();

        return jstring.method166(-110);
    }

    public static void method333(boolean bool) {
        aJString_1817 = null;
        aJString_1821 = null;
        aJString_1818 = null;
        aJString_1831 = null;
        aJString_1811 = null;
        aClass37_Sub4_Sub2_1826 = null;
        aJString_1810 = null;

        if (bool == true) {
            aShortArrayArray1822 = null;
            aJString_1819 = null;
        }
    }

    public static void method334(int i) {
        anInt1812++;

        int i_4_ = 93 / ((13 - i) / 52);
        Class37_Sub4_Sub7_Sub5.aClass65_3805.method1186(3056);
    }

    public static void method335(int i, int i_5_, int i_6_) {
        anInt1835++;

        if (i_6_ != 19938) {
            aJString_1831 = null;
        }

        Class58 class58 = (Class37_Sub9_Sub18.aClass58ArrayArrayArray3238[Class37_Sub9_Sub1.anInt2916][i_5_][i]);

        if (class58 == null) {
            Class38.aClass67_847.method1197(Class37_Sub9_Sub1.anInt2916, i_5_, i);
        } else {
            int i_7_ = -99999999;
            Class37_Sub4_Sub7_Sub3 class37_sub4_sub7_sub3 = null;

            for (Class37_Sub4_Sub7_Sub3 class37_sub4_sub7_sub3_8_ = (Class37_Sub4_Sub7_Sub3) class58.method1155(
                        0); class37_sub4_sub7_sub3_8_ != null;
                    class37_sub4_sub7_sub3_8_ = ((Class37_Sub4_Sub7_Sub3) class58.method1162(
                            (byte) 88))) {
                ItemDef itemdef = Class46.method1108(class37_sub4_sub7_sub3_8_.anInt3752,
                        (byte) 111);
                int i_9_ = itemdef.anInt2447;

                if ((itemdef.anInt2493 ^ 0xffffffff) == -2) {
                    i_9_ *= (class37_sub4_sub7_sub3_8_.anInt3737 - -1);
                }

                if (i_7_ < i_9_) {
                    class37_sub4_sub7_sub3 = class37_sub4_sub7_sub3_8_;
                    i_7_ = i_9_;
                }
            }

            if (class37_sub4_sub7_sub3 == null) {
                Class38.aClass67_847.method1197(Class37_Sub9_Sub1.anInt2916,
                    i_5_, i);
            } else {
                Class37_Sub4_Sub7_Sub3 class37_sub4_sub7_sub3_10_ = null;
                class58.method1150(i_6_ ^ 0x69a0, class37_sub4_sub7_sub3);

                int i_11_ = 1610612736 + (i << -1564831161) + i_5_;
                Class37_Sub4_Sub7_Sub3 class37_sub4_sub7_sub3_12_ = (Class37_Sub4_Sub7_Sub3) class58.method1155(0);
                Class37_Sub4_Sub7_Sub3 class37_sub4_sub7_sub3_13_ = null;

                for (; class37_sub4_sub7_sub3_12_ != null;
                        class37_sub4_sub7_sub3_12_ = ((Class37_Sub4_Sub7_Sub3) class58.method1162(
                                (byte) 56))) {
                    if (class37_sub4_sub7_sub3.anInt3752 != class37_sub4_sub7_sub3_12_.anInt3752) {
                        if (class37_sub4_sub7_sub3_10_ == null) {
                            class37_sub4_sub7_sub3_10_ = class37_sub4_sub7_sub3_12_;
                        }

                        if ((class37_sub4_sub7_sub3_12_.anInt3752 != class37_sub4_sub7_sub3_10_.anInt3752) &&
                                (class37_sub4_sub7_sub3_13_ == null)) {
                            class37_sub4_sub7_sub3_13_ = class37_sub4_sub7_sub3_12_;
                        }
                    }
                }

                Class38.aClass67_847.method1231(Class37_Sub9_Sub1.anInt2916,
                    i_5_, i,
                    JString.method153(Class37_Sub9_Sub1.anInt2916, -169496123,
                        64 + (128 * i), (128 * i_5_) - -64),
                    class37_sub4_sub7_sub3, i_11_, class37_sub4_sub7_sub3_10_,
                    class37_sub4_sub7_sub3_13_);
            }
        }
    }

    public static void method336(int i, JString jstring, int i_14_) {
        if (i != 31613) {
            method333(false);
        }

        Class42.outputStream.writePacket(i ^ ~0x590e5701, 250);
        Class36.anInt804++;
        anInt1820++;
        Class42.outputStream.writeByteC(8, i_14_);
        Class42.outputStream.writeLong1(1132103072,
            jstring.toInt64(i + -31672));
    }
}
